package com.ruoyi.goodsImg.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品图片信息对象 wdm_goods_img
 * 
 * @author ruoyi
 * @date 2025-06-16
 */
public class GoodsImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片ID */
    private Long imgId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 规格ID */
    @Excel(name = "规格ID")
    private Long skuId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imgUrl;

    /** 类型 */
    @Excel(name = "类型")
    private String imgType;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortOrder;

    /** 标题 */
    @Excel(name = "标题")
    private String imgTitle;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除 */
    private String delFlag;

    /** 版本号 */
    private Long version;

    public void setImgId(Long imgId) 
    {
        this.imgId = imgId;
    }

    public Long getImgId() 
    {
        return imgId;
    }

    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }

    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }

    public void setImgType(String imgType) 
    {
        this.imgType = imgType;
    }

    public String getImgType() 
    {
        return imgType;
    }

    public void setSortOrder(Long sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() 
    {
        return sortOrder;
    }

    public void setImgTitle(String imgTitle) 
    {
        this.imgTitle = imgTitle;
    }

    public String getImgTitle() 
    {
        return imgTitle;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imgId", getImgId())
            .append("goodsId", getGoodsId())
            .append("categoryId", getCategoryId())
            .append("skuId", getSkuId())
            .append("imgUrl", getImgUrl())
            .append("imgType", getImgType())
            .append("sortOrder", getSortOrder())
            .append("imgTitle", getImgTitle())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
